package com.ipoint.intr.smartCatalog.model.element;

import javax.persistence.Entity;

import org.hibernate.validator.NotNull;
import org.jboss.seam.annotations.Name;

@Entity
@Name("integerValue")
public class IntegerValue extends Value {
	@NotNull
	private Integer integerValue;

	public Integer getIntegerValue() {
		return integerValue;
	}

	public void setIntegerValue(Integer integerValue) {
		this.integerValue = integerValue;
	}
	
	@Override
	protected void toStringValues(StringBuffer result) {
		super.toStringValues(result);
		result.append(",").append("integerValue-").append(this.getIntegerValue());
	}
}
